home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_222
/
plplot
/
src
/
source.zoo
/
plery1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-15
|
427b
|
20 lines
/* Plots single vertical error bar */
#include "plplot.h"
#include <math.h>
void plery1(x,ymin,ymax)
float x, ymin, ymax;
{
float mindef, minht, xpmm, ypmm;
int xminor;
gmin(&mindef,&minht);
gpixmm(&xpmm,&ypmm);
xminor = max(1.0,minht*xpmm);
movwor(x,ymin);
plytik(wcpcx(x),wcpcy(ymin),xminor,xminor);
drawor(x,ymax);
plytik(wcpcx(x),wcpcy(ymax),xminor,xminor);
}